import request from '../api/baseApi';
import qs from 'qs';

// 当前用户今日签到接口
export const requestPunchInCertain = datas => {
  return request({
    method: 'POST',
    url: '/punch/certain',
    data: qs.stringify(datas)
  });
};
export const requestPunchIn = () => {
  return request({
    method: 'POST',
    url: '/punch'
  });
};
// 获取签到日期
// 获取该用户当月的签到日期
export const requestGetPunchInDays = () => {
  return request({
    method: 'GET',
    url: '/punch'
  });
};
